/// currentTime : 1629170563699
/// data : {"MsgSum":0.0,"friendsNum":0.0,"sendMsgNum":0.0,"receiveNum":0.0}
/// resultCode : 1

class DataCenterOverviewModel {
  int currentTime;
  CenterOverviewData data;
  int resultCode;

  DataCenterOverviewModel({
      this.currentTime, 
      this.data, 
      this.resultCode});

  DataCenterOverviewModel.fromJson(dynamic json) {
    currentTime = json["currentTime"];
    data = json["data"] != null ? CenterOverviewData.fromJson(json["data"]) : null;
    resultCode = json["resultCode"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["currentTime"] = currentTime;
    if (data != null) {
      map["data"] = data.toJson();
    }
    map["resultCode"] = resultCode;
    return map;
  }

}

/// MsgSum : 0.0
/// friendsNum : 0.0
/// sendMsgNum : 0.0
/// receiveNum : 0.0

class CenterOverviewData {
  double msgSum;
  double friendsNum;
  double sendMsgNum;
  double receiveNum;

  CenterOverviewData({
      this.msgSum, 
      this.friendsNum, 
      this.sendMsgNum, 
      this.receiveNum});

  CenterOverviewData.fromJson(dynamic json) {
    msgSum = json["MsgSum"];
    friendsNum = json["friendsNum"];
    sendMsgNum = json["sendMsgNum"];
    receiveNum = json["receiveNum"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["MsgSum"] = msgSum;
    map["friendsNum"] = friendsNum;
    map["sendMsgNum"] = sendMsgNum;
    map["receiveNum"] = receiveNum;
    return map;
  }

}